set(CMAKE_C_COMPILER /home/lubancat/workplace/rk356x/rk356x_linux_5.10_241111/buildroot/output/rockchip_rk3566/host/bin/aarch64-buildroot-linux-gnu-gcc)
set(CMAKE_CXX_COMPILER /home/lubancat/workplace/rk356x/rk356x_linux_5.10_241111/buildroot/output/rockchip_rk3566/host/bin/aarch64-buildroot-linux-gnu-g++)

aux_source_directory(. SRC_LIST)#将此目录的源文件集合称为变量SRC_LIST
add_library(funcLib_shared SHARED ${SRC_LIST})#库的名称，库的类型，库的源文件（动态库）
set_target_properties(funcLib_shared PROPERTIES OUTPUT_NAME "mqttpaho")#库的名称，库的输出名称（动态库）
set(LIBRARY_OUTPUT_PATH /home/lubancat/workplace/app/extra-parts/oem/normal/lib/)#库的输出路径为工程根目录下的lib文件夹。
